﻿// Type: System.Runtime.Serialization.IFormatterConverter
// Assembly: mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// Assembly location: C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll

using System;
using System.Runtime.InteropServices;

namespace System.Runtime.Serialization
{
  public interface IFormatterConverter
  {
    object Convert(object value, Type type);
    object Convert(object value, TypeCode typeCode);
    bool ToBoolean(object value);
    char ToChar(object value);
    sbyte ToSByte(object value);
    byte ToByte(object value);
    short ToInt16(object value);
    ushort ToUInt16(object value);
    int ToInt32(object value);
    uint ToUInt32(object value);
    long ToInt64(object value);
    ulong ToUInt64(object value);
    float ToSingle(object value);
    double ToDouble(object value);
    decimal ToDecimal(object value);
    DateTime ToDateTime(object value);
    string ToString(object value);
  }
}